package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitivePageDto;
import com.heima.model.wemedia.pojos.WmSensitive;

/**
 * author Link
 *
 * @version 1.0
 * @date 2025/4/9  17:02
 */

public interface WmSensitiveService extends IService<WmSensitive> {

    /**
     * 新增敏感词
     * @param dto
     * @return
     */
    public ResponseResult addSensitive(WmSensitive dto);

    /**
     * 查询敏感词列表
     * @param dto
     * @return
     */
    ResponseResult listSensitive(WmSensitivePageDto dto);

    /**
     * 修改敏感词
     * @param wmSensitive
     * @return
     */
    ResponseResult updateSensitive(WmSensitive wmSensitive);

    /**
     * id
     * @param id
     * @return
     */
    ResponseResult deleteSensitive(Integer id);
}
